Eclipse Platform
Pre-release 3.0

org.eclipse.ui.texteditor.quickdiff
Class ReferenceProviderDescriptor

java.lang.Object
  extended byorg.eclipse.ui.texteditor.quickdiff.ReferenceProviderDescriptor

public class ReferenceProviderDescriptor
extends Object

Describes an extension to the quickdiff.referenceprovider extension point.

Since:
3.0
See Also:
ReferenceSelectionAction, QuickDiff

Method Summary
 IQuickDiffProviderImplementation createProvider()
          Creates a referenceprovider as described in the extension's xml.
 boolean getDefault()
          Reads (if needed) and returns the default attribute value of this extension.
 String getId()
          Reads (if needed) and returns the id of this extension.
 String getLabel()
          Reads (if needed) and returns the label of this extension.
 boolean isPluginLoaded()
          States whether the plugin declaring this extensionhas been loaded already.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLabel

public String getLabel()
Reads (if needed) and returns the label of this extension.

Returns:
the label for this extension.

getId

public String getId()
Reads (if needed) and returns the id of this extension.

Returns:
the id for this extension.

createProvider

public IQuickDiffProviderImplementation createProvider()
Creates a referenceprovider as described in the extension's xml. Sets the id on the provider.

Returns:
a new instance of the reference provider described by this descriptor.

isPluginLoaded

public boolean isPluginLoaded()
States whether the plugin declaring this extensionhas been loaded already.

Returns:
true if the extension point's plugin has been loaded, false otherwise.

getDefault

public boolean getDefault()
Reads (if needed) and returns the default attribute value of this extension.

Returns:
the default attribute value for this extension.

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.